package team.knowers.agency.dao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import team.knowers.agency.common.database.BaseDO;


import java.util.Date;

/**
 * 订单信息
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("payment")
public class PaymentDO extends BaseDO {
    private Integer id;// 订单id
    private Integer bookingId;//所属预订ID
    private Integer flightId;//所属航班ID
    private Integer touristId;//旅客id
    private String identifyNumber;//旅客身份证号
    private String flightNo;//航班编号
    private String amount; // 支付金额
    private Date paymentDate; // 支付日期
    private Integer isPaid; // 是否支付 1未支付2已支付3取消订单
    private Integer paymentHash;//取票校验编号
}
